import request from "../../request/request";

// 登录
export function purchaseOrderList(data){
    return request({
        url:'/purchaseOrderList',
        method:'post',
        data
    })
}
// 采购入库列表
export function purchaseCGRK(data){
    return request({
        url:'/purchaseCGRK',
        method:'post',
        data
    })
}
// 采购入库列表
export function addPurchaseCGDD(data){
    return request({
        url:'/addPurchaseCGDD',
        method:'post',
        data
    })
}
// 供应商查询
export function supplierGYSList(){
    return request({
        url:'/supplierGYSList',
        method:'post',
    })
}
// 供应商查询
export function supplierKHList(){
    return request({
        url:'/supplierKHList',
        method:'post',
    })
}
// 查询所有商品
export function materialList(){
    return request({
        url:'/materialList',
        method:'post',
    })
}
// 批量删除和单删除
export function deleteOrder(ids){
    return request({
        url:'/deleteOrder',
        method:'post',
        data:ids
    })
}